aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/invoice/[id]/+page.server.js
blob: 5ab0069af81665304125632d6556a83e78e4f224 (plain) (blame)
1
2
3
4
5
6
7
import cookie from 'cookie';
import { get, post } from '$lib/utils';

export async function load({ params }) {
	let { id } = params;
	return { id, invoice: await get(`/invoice?uuid=${id}`) };
}